package dao;

import entity.Book;

import java.util.List;

/*
杨威
2021/9/7
21:26
*/
public interface BookDao {
    int insert(Book book);
    int delete(int i);
    int update(Book book);
    Book selectById(int i);
    List<Book> selectAll();
    long selectCount();
    List<Book> selectAllOrderByDate();
}
